package de.oszimt.matse.messenger.messages;

public class TextMessage implements Message 
{
	private String jsonString;
	
	public TextMessage(String sender,String receiver, String message) 
	{
		this.jsonString = 
		"{" +
		"   'type':'TEXT'," +
		"   'sender':'" + sender + "'," +
		"   'receiver':'" + receiver + "'," +
		"   'message':'" + message + "'" +
		"}";
	}
	
	@Override
	public String getJSONString() 
	{
		return this.jsonString;
	}

	@Override
	public String getMessageType() {
		// TODO Auto-generated method stub
		return null;
	}
}
